export function gotoLogin(communityCode: string) {
  const loginUrl = `/login?from=${encodeURIComponent(window.location.pathname + '?CommunityCode=' + communityCode)}`;

  window.location.replace(loginUrl);
}
